<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>ESP8266_RTOS_SDK: include/espressif/mesh.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266_RTOS_SDK
   &#160;<span id="projectnumber">v1.4.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_cf4dbf1328d2cf10d3f3933741525dc7.html">espressif</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">mesh.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * ESPRSSIF MIT License</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (c) 2015 &lt;ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * Permission is hereby granted for use on ESPRESSIF SYSTEMS ESP8266 only, in which case,</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * it is free of charge, to any person obtaining a copy of this software and associated</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the Software is furnished</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * to do so, subject to the following conditions:</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in all copies or</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * substantial portions of the Software.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#ifndef __LWIP_API_MESH_H__</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define __LWIP_API_MESH_H__</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;lwip/ip_addr.h&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &quot;espconn.h&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">typedef</span> void (* espconn_mesh_callback)();</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">enum</span> mesh_type {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    MESH_CLOSE = 0,</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    MESH_LOCAL,</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    MESH_ONLINE,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    MESH_NONE = 0xFF</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;};</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#ga73a6546355fa7461bbe09af0643c719e">   55</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__Mesh__APIs.html#ga73a6546355fa7461bbe09af0643c719e">mesh_status</a> {</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea34024c70dfdfac6cd104addcb7efdf4b">   56</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea34024c70dfdfac6cd104addcb7efdf4b">MESH_DISABLE</a> = 0,        </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719eafc8893dffe37c367602bd732dd57277f">   57</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719eafc8893dffe37c367602bd732dd57277f">MESH_WIFI_CONN</a>,          </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719eaf8707ddf897e616743134a1e28ed03f4">   58</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719eaf8707ddf897e616743134a1e28ed03f4">MESH_NET_CONN</a>,           </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea2db29fbbb0d36ee854ddbf7325b4dbc0">   59</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea2db29fbbb0d36ee854ddbf7325b4dbc0">MESH_LOCAL_AVAIL</a>,        </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea3ed309a6fce09a48d29a668345170026">   60</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea3ed309a6fce09a48d29a668345170026">MESH_ONLINE_AVAIL</a>        </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;};</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#ga4947b8b90891b481b81383e08d45c346">   63</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__Mesh__APIs.html#ga4947b8b90891b481b81383e08d45c346">mesh_node_type</a> {</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346a8dc1197b5edf569a7e041845c7aae34e">   64</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346a8dc1197b5edf569a7e041845c7aae34e">MESH_NODE_PARENT</a> = 0,    </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346ad1d85742ae6b9b121f3f5dc6f93827f4">   65</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346ad1d85742ae6b9b121f3f5dc6f93827f4">MESH_NODE_CHILD</a>,         </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346a95346a7d9886d3e5781fec75aff99ad7">   66</a></span>&#160;    <a class="code" href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346a95346a7d9886d3e5781fec75aff99ad7">MESH_NODE_ALL</a>            </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;};</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__Mesh__APIs.html#ga3b2ebffff1527d4fb3fec86ab73c804b">espconn_mesh_local_addr</a>(<span class="keyword">struct</span> ip_addr *ip);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__Mesh__APIs.html#gacfa17fe9fe638da7cea59ff5f63e887e">espconn_mesh_get_node_info</a>(<span class="keyword">enum</span> <a class="code" href="group__Mesh__APIs.html#ga4947b8b90891b481b81383e08d45c346">mesh_node_type</a> type,</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;                                uint8_t **info, uint8_t *count);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__Mesh__APIs.html#gad6bb1d256497efb94543235414a1f7e5">espconn_mesh_encrypt_init</a>(<a class="code" href="group__WiFi__Common__APIs.html#ga49c8969263c0503dbe9811f16c500296">AUTH_MODE</a> mode, uint8_t *passwd, uint8_t passwd_len);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__Mesh__APIs.html#ga55a5712902986a0cfc4e57fbb7d34821">espconn_mesh_set_ssid_prefix</a>(uint8_t *prefix, uint8_t prefix_len);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__Mesh__APIs.html#ga4e2fd63e3eeaeba305b5ded90fcc753f">espconn_mesh_set_max_hops</a>(uint8_t max_hops);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__Mesh__APIs.html#gad9db6b93cb1e3f37efdbb7a3e5180556">espconn_mesh_group_id_init</a>(uint8_t *grp_id, uint16_t gid_len);</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__Mesh__APIs.html#ga7cb73ffe93d15bfe0bcc6c5d17bef4ac">espconn_mesh_set_dev_type</a>(uint8_t dev_type);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;sint8 <a class="code" href="group__Mesh__APIs.html#gaa00a7caa98b654fe5435f5990d99c06d">espconn_mesh_connect</a>(<span class="keyword">struct</span> <a class="code" href="structespconn.html">espconn</a> *usr_esp);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;sint8 <a class="code" href="group__Mesh__APIs.html#ga819e5e382bc1aaa254a347b2eb880250">espconn_mesh_disconnect</a>(<span class="keyword">struct</span> <a class="code" href="structespconn.html">espconn</a> *usr_esp);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;sint8 <a class="code" href="group__Mesh__APIs.html#gafec6034951b2c5cf70a7ea1c7707a03f">espconn_mesh_get_status</a>();</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;sint8 <a class="code" href="group__Mesh__APIs.html#ga8c60c7f53352f4e12bda09d0f2484075">espconn_mesh_sent</a>(<span class="keyword">struct</span> <a class="code" href="structespconn.html">espconn</a> *usr_esp, uint8 *pdata, uint16 len);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;uint8 <a class="code" href="group__Mesh__APIs.html#ga3dea1ef65bbb8c168082de273588c040">espconn_mesh_get_max_hops</a>();</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__Mesh__APIs.html#gab9f4efbcf201ac6b1425cf447485f7d8">espconn_mesh_enable</a>(espconn_mesh_callback enable_cb, <span class="keyword">enum</span> mesh_type type);</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__Mesh__APIs.html#ga130feda4a6e3a5e7ed1d750b6c4bc6ee">espconn_mesh_disable</a>(espconn_mesh_callback disable_cb);</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__Mesh__APIs.html#gacb87f54723aeacf3f4336eb1eb78633a">espconn_mesh_init</a>();</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;}</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="group__Mesh__APIs_html_ga7cb73ffe93d15bfe0bcc6c5d17bef4ac"><div class="ttname"><a href="group__Mesh__APIs.html#ga7cb73ffe93d15bfe0bcc6c5d17bef4ac">espconn_mesh_set_dev_type</a></div><div class="ttdeci">bool espconn_mesh_set_dev_type(uint8_t dev_type)</div><div class="ttdoc">Set the curent device type. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga4e2fd63e3eeaeba305b5ded90fcc753f"><div class="ttname"><a href="group__Mesh__APIs.html#ga4e2fd63e3eeaeba305b5ded90fcc753f">espconn_mesh_set_max_hops</a></div><div class="ttdeci">bool espconn_mesh_set_max_hops(uint8_t max_hops)</div><div class="ttdoc">Set max hop for mesh network. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga73a6546355fa7461bbe09af0643c719eafc8893dffe37c367602bd732dd57277f"><div class="ttname"><a href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719eafc8893dffe37c367602bd732dd57277f">MESH_WIFI_CONN</a></div><div class="ttdef"><b>Definition:</b> mesh.h:57</div></div>
<div class="ttc" id="group__WiFi__Common__APIs_html_ga49c8969263c0503dbe9811f16c500296"><div class="ttname"><a href="group__WiFi__Common__APIs.html#ga49c8969263c0503dbe9811f16c500296">AUTH_MODE</a></div><div class="ttdeci">AUTH_MODE</div><div class="ttdef"><b>Definition:</b> esp_wifi.h:59</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gacb87f54723aeacf3f4336eb1eb78633a"><div class="ttname"><a href="group__Mesh__APIs.html#gacb87f54723aeacf3f4336eb1eb78633a">espconn_mesh_init</a></div><div class="ttdeci">void espconn_mesh_init()</div><div class="ttdoc">To print version of mesh. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga4947b8b90891b481b81383e08d45c346a95346a7d9886d3e5781fec75aff99ad7"><div class="ttname"><a href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346a95346a7d9886d3e5781fec75aff99ad7">MESH_NODE_ALL</a></div><div class="ttdef"><b>Definition:</b> mesh.h:66</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gafec6034951b2c5cf70a7ea1c7707a03f"><div class="ttname"><a href="group__Mesh__APIs.html#gafec6034951b2c5cf70a7ea1c7707a03f">espconn_mesh_get_status</a></div><div class="ttdeci">sint8 espconn_mesh_get_status()</div><div class="ttdoc">Get current mesh status. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga4947b8b90891b481b81383e08d45c346"><div class="ttname"><a href="group__Mesh__APIs.html#ga4947b8b90891b481b81383e08d45c346">mesh_node_type</a></div><div class="ttdeci">mesh_node_type</div><div class="ttdef"><b>Definition:</b> mesh.h:63</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga73a6546355fa7461bbe09af0643c719ea3ed309a6fce09a48d29a668345170026"><div class="ttname"><a href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea3ed309a6fce09a48d29a668345170026">MESH_ONLINE_AVAIL</a></div><div class="ttdef"><b>Definition:</b> mesh.h:60</div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga819e5e382bc1aaa254a347b2eb880250"><div class="ttname"><a href="group__Mesh__APIs.html#ga819e5e382bc1aaa254a347b2eb880250">espconn_mesh_disconnect</a></div><div class="ttdeci">sint8 espconn_mesh_disconnect(struct espconn *usr_esp)</div><div class="ttdoc">Disconnect a mesh connection. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga73a6546355fa7461bbe09af0643c719eaf8707ddf897e616743134a1e28ed03f4"><div class="ttname"><a href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719eaf8707ddf897e616743134a1e28ed03f4">MESH_NET_CONN</a></div><div class="ttdef"><b>Definition:</b> mesh.h:58</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gaa00a7caa98b654fe5435f5990d99c06d"><div class="ttname"><a href="group__Mesh__APIs.html#gaa00a7caa98b654fe5435f5990d99c06d">espconn_mesh_connect</a></div><div class="ttdeci">sint8 espconn_mesh_connect(struct espconn *usr_esp)</div><div class="ttdoc">Try to establish mesh connection to server. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga3b2ebffff1527d4fb3fec86ab73c804b"><div class="ttname"><a href="group__Mesh__APIs.html#ga3b2ebffff1527d4fb3fec86ab73c804b">espconn_mesh_local_addr</a></div><div class="ttdeci">bool espconn_mesh_local_addr(struct ip_addr *ip)</div><div class="ttdoc">Check whether the IP address is mesh local IP address or not. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_gab9f4efbcf201ac6b1425cf447485f7d8"><div class="ttname"><a href="group__Mesh__APIs.html#gab9f4efbcf201ac6b1425cf447485f7d8">espconn_mesh_enable</a></div><div class="ttdeci">void espconn_mesh_enable(espconn_mesh_callback enable_cb, enum mesh_type type)</div><div class="ttdoc">To enable mesh network. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga130feda4a6e3a5e7ed1d750b6c4bc6ee"><div class="ttname"><a href="group__Mesh__APIs.html#ga130feda4a6e3a5e7ed1d750b6c4bc6ee">espconn_mesh_disable</a></div><div class="ttdeci">void espconn_mesh_disable(espconn_mesh_callback disable_cb)</div><div class="ttdoc">To disable mesh network. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_gacfa17fe9fe638da7cea59ff5f63e887e"><div class="ttname"><a href="group__Mesh__APIs.html#gacfa17fe9fe638da7cea59ff5f63e887e">espconn_mesh_get_node_info</a></div><div class="ttdeci">bool espconn_mesh_get_node_info(enum mesh_node_type type, uint8_t **info, uint8_t *count)</div><div class="ttdoc">Get the information of mesh node. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga4947b8b90891b481b81383e08d45c346ad1d85742ae6b9b121f3f5dc6f93827f4"><div class="ttname"><a href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346ad1d85742ae6b9b121f3f5dc6f93827f4">MESH_NODE_CHILD</a></div><div class="ttdef"><b>Definition:</b> mesh.h:65</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga73a6546355fa7461bbe09af0643c719ea34024c70dfdfac6cd104addcb7efdf4b"><div class="ttname"><a href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea34024c70dfdfac6cd104addcb7efdf4b">MESH_DISABLE</a></div><div class="ttdef"><b>Definition:</b> mesh.h:56</div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga55a5712902986a0cfc4e57fbb7d34821"><div class="ttname"><a href="group__Mesh__APIs.html#ga55a5712902986a0cfc4e57fbb7d34821">espconn_mesh_set_ssid_prefix</a></div><div class="ttdeci">bool espconn_mesh_set_ssid_prefix(uint8_t *prefix, uint8_t prefix_len)</div><div class="ttdoc">Set prefix of SSID for mesh node. </div></div>
<div class="ttc" id="structespconn_html"><div class="ttname"><a href="structespconn.html">espconn</a></div><div class="ttdef"><b>Definition:</b> espconn.h:150</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga73a6546355fa7461bbe09af0643c719ea2db29fbbb0d36ee854ddbf7325b4dbc0"><div class="ttname"><a href="group__Mesh__APIs.html#gga73a6546355fa7461bbe09af0643c719ea2db29fbbb0d36ee854ddbf7325b4dbc0">MESH_LOCAL_AVAIL</a></div><div class="ttdef"><b>Definition:</b> mesh.h:59</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gad6bb1d256497efb94543235414a1f7e5"><div class="ttname"><a href="group__Mesh__APIs.html#gad6bb1d256497efb94543235414a1f7e5">espconn_mesh_encrypt_init</a></div><div class="ttdeci">bool espconn_mesh_encrypt_init(AUTH_MODE mode, uint8_t *passwd, uint8_t passwd_len)</div><div class="ttdoc">Set WiFi cryption algrithm and password for mesh node. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga73a6546355fa7461bbe09af0643c719e"><div class="ttname"><a href="group__Mesh__APIs.html#ga73a6546355fa7461bbe09af0643c719e">mesh_status</a></div><div class="ttdeci">mesh_status</div><div class="ttdef"><b>Definition:</b> mesh.h:55</div></div>
<div class="ttc" id="group__Mesh__APIs_html_gga4947b8b90891b481b81383e08d45c346a8dc1197b5edf569a7e041845c7aae34e"><div class="ttname"><a href="group__Mesh__APIs.html#gga4947b8b90891b481b81383e08d45c346a8dc1197b5edf569a7e041845c7aae34e">MESH_NODE_PARENT</a></div><div class="ttdef"><b>Definition:</b> mesh.h:64</div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga8c60c7f53352f4e12bda09d0f2484075"><div class="ttname"><a href="group__Mesh__APIs.html#ga8c60c7f53352f4e12bda09d0f2484075">espconn_mesh_sent</a></div><div class="ttdeci">sint8 espconn_mesh_sent(struct espconn *usr_esp, uint8 *pdata, uint16 len)</div><div class="ttdoc">Send data through mesh network. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_gad9db6b93cb1e3f37efdbb7a3e5180556"><div class="ttname"><a href="group__Mesh__APIs.html#gad9db6b93cb1e3f37efdbb7a3e5180556">espconn_mesh_group_id_init</a></div><div class="ttdeci">bool espconn_mesh_group_id_init(uint8_t *grp_id, uint16_t gid_len)</div><div class="ttdoc">Set group ID of mesh node. </div></div>
<div class="ttc" id="group__Mesh__APIs_html_ga3dea1ef65bbb8c168082de273588c040"><div class="ttname"><a href="group__Mesh__APIs.html#ga3dea1ef65bbb8c168082de273588c040">espconn_mesh_get_max_hops</a></div><div class="ttdeci">uint8 espconn_mesh_get_max_hops()</div><div class="ttdoc">Get max hop of mesh network. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 1 2016 10:19:26 for ESP8266_RTOS_SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
